package com.xz.courseschedule.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author: zys
 * @CreateTime: 2025-05-24
 */


@Data
public class Teacher implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;//id

    private String teacherNo;//教师编号

    private String teacherName;//教师名称

    private Long  createdBy;//创建人

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createdTime;

    private Long updatedBy;//更新人

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone ="GMT+8")
    private LocalDateTime updatedTime;
}
